package cn.iocoder.yudao.module.recycl.controller.admin.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 回收订单新增/修改 Request VO")
@Data
public class OrderSaveReqVO {

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "13395")
    private Long id;

    @Schema(description = "订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "订单号不能为空")
    private String orderNo;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27715")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "联系人姓名", example = "赵六")
    private String userName;

    @Schema(description = "联系电话")
    private String userPhone;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "回收物品类型编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6767")
    @NotNull(message = "回收物品类型编号不能为空")
    private Long itemTypeId;

    @Schema(description = "物品描述")
    private String itemDesc;

    @Schema(description = "预约时间")
    private LocalDateTime appointmentTime;

    @Schema(description = "回收人员编号", example = "29518")
    private Long collectorId;

    @Schema(description = "订单状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "订单状态不能为空")
    private Integer status;

    @Schema(description = "备注信息")
    private String remarks;

}